package com.hz.common.utils;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponsePage<T> {

    @ApiModelProperty(value = "分页列表", dataType = "Long")
    private T record;

    @ApiModelProperty(value = "总数量", dataType = "Integer")
    private Integer total;

    @ApiModelProperty(value = "单页大小", dataType = "Integer")
    private Integer size;

}
